package com.rc.saas.mini.mapper.market;

import com.rc.saas.mini.common.base.BaseMapper;
import com.rc.saas.mini.model.market.MarketActivityTicket;
import com.rc.saas.mini.model.market.MarketActivityTicketExample;
import com.rc.saas.mini.vo.market.MarketActivityTicketVo;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface MarketActivityTicketMapper extends BaseMapper<Long, MarketActivityTicket, MarketActivityTicketExample> {
    List<MarketActivityTicketVo> listByActivityId(@Param("marketActivityId") Long marketActivityId);

    List<MarketActivityTicketVo> listActivityTicket(@Param("marketActivityId") Long marketActivityId, @Param("amount") BigDecimal amount);

}
